package com.ja.openchat.ui.me;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import androidx.annotation.Nullable;

import com.blankj.utilcode.util.BarUtils;
import com.ja.openchat.BR;
import com.ja.openchat.R;
import com.ja.openchat.databinding.FragmentPaymentReceivedCodeBinding;
import com.ja.openchat.viewmodels.PaymentReceivedCodeViewModel;

import me.goldze.mvvmhabit.base.BaseFragment;

//收付款二维码界面
public class PaymentReceivedCodeFragment extends BaseFragment<FragmentPaymentReceivedCodeBinding, PaymentReceivedCodeViewModel> {
    @Override
    public int initContentView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return R.layout.fragment_payment_received_code;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public void initView() {
        super.initView();
        BarUtils.setStatusBarLightMode(getActivity(), false);
        BarUtils.setStatusBarColor(getActivity(), getResources().getColor(R.color.color_f2ba00));
    }
}